<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>

<head><title>登录页面</title></head>

<body>

<form action="<%=basePath%>login.do" method="post">
${message}
   <table>

   <tr><td>用户名：</td>

       <td><input type="text" name="username"/></td>

   </tr>

   <tr><td>密&nbsp;&nbsp;码：</td>

        <td><input type="password" name="password"/></td>

   </tr>
   <tr>
   	<td>
   		<input type="checkbox" name="fav" value="1">体育</br>
   		<input type="checkbox" name="fav" value="2">音乐</br>
   		<input type="checkbox" name="fav" value="3">Java编程</br>
   	</td>
   </tr>

   <tr><td><input type="submit" value="登录"/></td>

       <td><input type="reset" value="取消"/></td>

   </tr>

   </table>

</form>

</body>

</html>
